//
//  XMGLuckyViewController.m
//  小码哥彩票
//
//  Created by 徐悟源 on 16/3/8.
//  Copyright (c) 2016年 xiaomage. All rights reserved.
//

#import "XMGLuckyViewController.h"

@interface XMGLuckyViewController ()
@property (weak, nonatomic) IBOutlet UIImageView *lightView;

@end

@implementation XMGLuckyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    UIImage *image1 = [UIImage imageNamed:@"lucky_entry_light0"];
    UIImage *image2 = [UIImage imageNamed:@"lucky_entry_light1"];
    
    _lightView.animationImages = @[image1,image2];
    _lightView.animationDuration = 0.5;
    [_lightView startAnimating];
}



@end
